 
 <?php 
 
  
    echo form_open("products/add");
    echo form_label('Product name :'); 
    echo form_input('pro_name').'<br />'; 
    echo form_error('pro_name');
    echo form_label('Pirce :'); 
    echo form_input('pro_pirce').'<br />'; 
    echo form_label('Number :'); 
   	echo form_input('pro_number').'<br />'; 
   	echo form_label('Detail :');
 	echo form_textarea('pro_detail').'<br />';
 	echo form_label('Categorys :');
 	echo form_dropdown('categorys',$data['categorys']).'<br />';
    echo form_button(array('id'=>"add_product",'value'=>'true','content'=>'save')); 
    echo form_button('action_product_cancel','Cancel');
    echo form_close();
    
	//var_dump ($data['categorys']);
    ?>
    <div id="message_ajax"></div>
    